package com.bdqn.schoolcms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.bdqn.schoolcms.mapper.UserMapper;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_class")
public class SysClass {



    /**
     * 班级ID
     */
    @TableId(value = "class_id", type = IdType.AUTO)
    private Long classId;

    /**
     * 班级名称
     */
    @TableField(value = "class_name")
    private String className;

    /**
     * 班级数量
     */
    @TableField(value = "class_count")
    private String classCount;

    /**
     * 显示顺序
     */
    @TableField(value = "class_sort")
    private Integer classSort;

    /**
     * 班级状态（0正常 1停用）
     */
    @TableField(value = "status")
    private String status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 创建者
     */
    @TableField(value = "create_by")
    private String createBy;

    /**
     * 更新者
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableField(value = "del_flag")
    private String delFlag;

    /**
     * 班主任
     */
    @TableField(value = "class_teach_b")
    private String classTeachB;

    /**
     * 教员
     */
    @TableField(value = "class_teach_J")
    private String classTeachJ;




    public static final String COL_CLASS_ID = "class_id";

    public static final String COL_CLASS_NAME = "class_name";

    public static final String COL_CLASS_COUNT = "class_count";

    public static final String COL_CLASS_SORT = "class_sort";

    public static final String COL_STATUS = "status";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_UPDATE_BY = "update_by";

    public static final String COL_DEL_FLAG = "del_flag";

    public static final String COL_CLASS_TEACH_B = "class_teach_b";

    public static final String COL_CLASS_TEACH_J = "class_teach_J";
}